package com.kws.tool.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.kws.tool.entity.PolicyLocationEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author : zhangbenting
 * @date : 2024/10/22 19:57
 * @Version: 1.0
 */
@Data
public class LocationVo {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("上级ID")
    @JsonProperty("pId")
    private Long pId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("子集")
    private List<LocationVo> children;
}
